/*

 */

#import <UIKit/UIKit.h>

@interface UIView (Apperance)

/*
 Sets view hidden property to !show
 Sets view alpha property to show
 **/
-(void) show:(BOOL)show;

/*
 Sets view hidden property to !show
 Sets view alpha property to show
 If animated is YES then apperance is made in animation block
 **/
-(void) show:(BOOL)show
    animated:(BOOL) animated;


/*
 Sets view hidden property to !show
 Sets view alpha property to show
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 **/
-(void) show:(BOOL)show
    animated:(BOOL) animated
completionBlock:(void(^)(BOOL))completion;


/*
 Sets view hidden property to !show
 Sets view alpha property to show
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 Use duration to manage animation duration
 **/
-(void) show:(BOOL)show
    duration:(NSTimeInterval)duration
    animated:(BOOL)animated
completionBlock:(void(^)(BOOL))completion;


/*
 Sets view hidden property to !show
 Sets view alpha property to show
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 Use duration to manage animation duration
 Use options to manage animation options
 **/

-(void) show:(BOOL)show
    duration:(NSTimeInterval)duration
animationOptions:(UIViewAnimationOptions) options
    animated:(BOOL)animated
completionBlock:(void(^)(BOOL))completion;

#pragma mark - Frames

/*
 Sets view frame
 If animated is YES then apperance is made in animation block
 **/
-(void) setFrame:(CGRect)frame
        animated:(BOOL) animated;


/*
 Sets view frame
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 **/
-(void) setFrame:(CGRect)frame
        animated:(BOOL)animated
 completionBlock:(void(^)(BOOL))completion;


/*
 Sets view frame
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 Use duration to manage animation duration
 **/
-(void) setFrame:(CGRect)frame
        duration:(NSTimeInterval)duration
        animated:(BOOL)animated
 completionBlock:(void(^)(BOOL))completion;


/*
 Sets view frame
 If animated is YES then apperance is made in animation block
 Set completion if you want to be notified when animation finishes
 Use duration to manage animation duration
 Use options to manage animation options
 **/
-(void) setFrame:(CGRect)frame
        duration:(NSTimeInterval)duration
animationOptions:(UIViewAnimationOptions) options
        animated:(BOOL)animated
 completionBlock:(void(^)(BOOL))completion;
@end
